home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 466 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  962 b 

  1. Path: news.aimnet.com!news
  2. From: Arun Jamwal <jamwal@quality.com>
  3. Newsgroups: comp.std.c
  4. Subject: Q: How to tell if a file is done?
  5. Date: Wed, 28 Feb 1996 18:07:00 -0800
  6. Organization: Quality Consulting Services, Santa Clara, CA
  7. Message-ID: <31350A44.41C6@quality.com>
  8. NNTP-Posting-Host: quality.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; AIX 2)
  13.  
  14. Hi there,
  15.  
  16. I have a remote process on system A transferring file, say FILEA.
  17. Another processes on system B wants to read file FILEA as
  18. soon as the WHOLE file has been transfered. 
  19.  
  20. I know one can tell process B the size of the file FILEA before the
  21. transfer and then process B does a fstat to check the size....but 
  22. is there any other way?
  23.  
  24. For instance, is there a way to tell if there are no descriptors
  25. associated with a file?
  26.  
  27. Any suggestions are welcome! And thanks in advance.
  28.  
  29. Sincerely,
  30.  
  31. Jamwal
  32.  
  33. Email: jamwal@quality.com
  34.